package jmu.edu.yjc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jmu.edu.yjc.domain.ResponseResult;
import jmu.edu.yjc.domain.entity.ScheduleSetting;


/**
 * (ScheduleSetting)表服务接口
 *
 * @author makejava
 * @since 2023-04-03 23:50:59
 */
public interface ScheduleSettingService extends IService<ScheduleSetting> {

    ResponseResult addJob(ScheduleSetting scheduleSetting);

    ResponseResult updateJob(ScheduleSetting scheduleSetting);

    ResponseResult deleteJob(Long id);

    ResponseResult listJob(Integer pageNum, Integer pageSize, String beanName);

    ResponseResult updateJobStatus(ScheduleSetting scheduleSetting);

    ResponseResult executeJob(ScheduleSetting job);
}

